<template>
  <div class="scrollBox">
    <iframe
      :src="pdfSrc"
      frameborder="0"
      width="100%"
      class="mmv-car-wrap"
    ></iframe>
  </div>
</template>

<script>
  import pdf from 'vue-pdf'
  export default {
    components: {
      pdf
    },
    data() {
      return {
        // pdfSrc: "https://sj.shopec.com.cn/image-server/operation_guide/xz.pdf",
        pdfSrc:this.$route.query.pdfSrc,
        pdfName:this.$route.query.pdfName
      }
    },
  }
</script>
<style lang="scss" scoped>
.mmv-car-wrap {
width: 100%;
height: calc(100vh - 84px - 30px);
// height: 500px;
overflow-y: scroll;
padding-right: 10px;
}
</style>
